
<form class="layui-form">
  
  <input type="hidden" name="id" value="<{$info['id']}>"> 

  <div class="layui-form-item">
    <label class="layui-form-label">收货人姓名</label>
    <div class="layui-input-block">
      <input type="text" name="name" placeholder="请输入真实姓名"  value="<{$info['name']}>" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">收货人电话</label>
    <div class="layui-input-block">
      <input type="text" name="phone" placeholder="请输入真实姓名"  value="<{$info['phone']}>" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">地址</label>
    <div class="layui-input-block">
      <input type="text" name="address" placeholder="请输入联系电话"  value="<{$info['address']}>" autocomplete="off" class="layui-input">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">是否默认</label>
    <div class="layui-input-block">
        <select name="is_default">
          <option value="1" <{if 1==$info['is_default']}>selected<{/if}> >默认</option>
          <option value="0" <{if 0==$info['is_default']}>selected<{/if}> >非默认</option>
        </select>
    </div>
  </div>

  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" id="btn" lay-submit="" lay-filter="form">立即提交</button>
    </div>
  </div>
</form>


<script>
$().ready(function(){
  //拖拽上传
  //
  layui.form.render('select');

});
</script>
